// @ts-ignore
/* eslint-disable */
import request from "@/request";

/** getOperationLogList POST /api/system/config/operationLog/query */
export async function getOperationLogListUsingPost(
  body: API.OperationLogQueryRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePageOperationLog_>(
    "/api/system/config/operationLog/query",
    {
      method: "POST",
      headers: {
        "Content-Type": "application/json",
      },
      data: body,
      ...(options || {}),
    }
  );
}

/** deleteOperationLogById DELETE /api/system/operationLog/delete */
export async function deleteOperationLogByIdUsingDelete(
  body: API.DeleteRequest,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>("/api/system/operationLog/delete", {
    method: "DELETE",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
